package com.example.generate.table;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CaseBaseTableInfo implements DbInfo {

    @ApiModelProperty(value = "表名")
    private String tableName;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "设置父包名")
    private String parentPackage;

    @ApiModelProperty(value = "设置模块名")
    private String module;

    @Override
    public String getDbUrl() {
        return DbInfo.DB_URL_1;
    }

    @Override
    public String getUserName() {
        return DbInfo.DB_USER_NAME_1;
    }

    @Override
    public String getPassword() {
        return DbInfo.DB_PASSWORD_1;
    }
}
